package com.test.demo.main.dialog

import com.test.demo.base.BaseDialogFragment
import com.test.demo.databinding.DialogShareDynamicBinding
import com.test.demo.ext.toast


/**
 * @description:
 */
class ShareDynamicDialog : BaseDialogFragment<DialogShareDynamicBinding>() {
    override fun DialogShareDynamicBinding.initView() {
        mBinding.tvDissmiss.setOnClickListener {
            dismiss()
        }
        mBinding.ivWechatShare.setOnClickListener {
            "分享到微信".toast()
            dismiss()
        }
        mBinding.ivImageSave.setOnClickListener {
            "保存海报".toast()
            dismiss()
        }
    }

    override fun showInBottom(): Boolean {
        return true
    }

}